package com.bfly.mall.advert.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bfly.mall.advert.entity.CouponRangeBind;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 长沙商脉科技有限公司
 * @date 2020/9/21 16:56
 */
@Mapper
public interface CouponRangeBindMapper extends BaseMapper<CouponRangeBind> {

    /**
     * 删除优惠卷和商品的绑定关系o
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/21 17:17
     */
    void removeByCoupon(@Param("couponId") int couponId);
}
